package com.web.portal.service;

import java.util.List;
import java.util.Map;

public interface WebportalService<T> {
	public void createOrUpdate(final T entity) throws RuntimeException;

	public List<T> searchByCriteria(
			final Map<? extends Enum<?>, Object> searchCriteria)
			throws RuntimeException;

	public List<T> getList(final T entity) throws RuntimeException;
	public void delete (final T entity) throws RuntimeException;
}
